﻿namespace LY.SSOServer.Models.OAuth
{
    public class oauth_helper
    {
        public oauth_helper()
        { }

        /// <summary>
        /// 获取OAuth配置信息
        /// </summary>
        /// <param name="oauth_name"></param>
        public static oauth_config get_config(string oauth_name=null)
        {   
                //赋值
                var config = new oauth_config();
                config.oauth_name = "sina";
                config.oauth_app_id = "2941687951";
                config.oauth_app_key = "a11abfd452e9c1d34b2fc7b18790e7c3";
                config.return_uri = "http://sso.changerbank.com/api/oauth/sina/return_url.aspx";
                return config; 
        }
    }
}
